package cc.site.main.bean;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 宠物信息
 * </p>
 *
 * @author yangruomao
 * @since 2024-04-14
 */
@TableName("tbl_pet")
@ApiModel(value = "TblPet对象", description = "宠物信息")
@Data
public class TblPet implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("宠物名（可为空）")
    private String name;

    @ApiModelProperty("房间id")
    private Integer roomId;

    @ApiModelProperty("种类id")
    private Integer kindId;

    @ApiModelProperty("寄养人id")
    private Integer fosterHumanId;

    @ApiModelProperty("主人id，没有为-1")
    private Integer masterHumanId;

    @ApiModelProperty("详细说明")
    private String descprition;

    @ApiModelProperty("宠物照片")
    private String pic;

    @TableLogic
    private Integer deleted;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime gmtCreate;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime gmtUpdate;


}
